local config = {};

function GM:GetConfig(name)
	return config[name];
end;

if (SERVER) then
	-- Default money.
	GM:AddDataField("money", 500); 
	
	-- Default inventory, can also put default items in here.
	GM:AddDataField("inventory", {}); 
	
	-- Flags for classes that you can't vote for etc.
	GM:AddDataField("flags", {}); 
	
	-- Default walk speed.
	config["walkSpeed"] = 150;
	
	-- Default run speed.
	config["runSpeed"] = 260;
	
	-- Default weapons to spawn with.
	config["defaultWeapons"] = {
		"lgtrp_weapon_keys",
		"lgtrp_weapon_hands",
		"weapon_physgun",
		"weapon_physcannon"
	};
	
	-- Add your banned props here.
	config["bannedProps"] = {
		"models/props_combine/CombineTrain02b.mdl",
		"models/props_combine/CombineTrain02a.mdl",
		"models/props_combine/CombineTrain01.mdl",
		"models/Cranes/crane_frame.mdl",
		"models/props_wasteland/cargo_container01.mdl",
		"models/props_c17/oildrum001_explosive.mdl",
		"models/props_canal/canal_bridge02.mdl",
		"models/props_canal/canal_bridge01.mdl",
		"models/props_canal/canal_bridge03a.mdl",
		"models/props_canal/canal_bridge03b.mdl",
		"models/props_wasteland/cargo_container01.mdl",
		"models/props_wasteland/cargo_container01c.mdl",
		"models/props_wasteland/cargo_container01b.mdl"
	};
	
	-- Default sandbox limits.
	config["sandboxLimits"] = {
		PROPS = 10,
		RAGDOLLS = 1,
		EFFECTS = 4
	};
end;

local citizen = {};
citizen.id = 1;
citizen.name = "Citizen";
citizen.color = Color(0, 200, 0, 255);

GM:AddNewClass("citizen", citizen);